//	SpeedData.java --- 

package fr.upmc.dtgui.example.robot;

import javax.swing.JPanel;

import fr.upmc.dtgui.example.gui.TeleoperationBoard;

public class SpeedData extends RobotStateData {

	public double		speed ;
	private int			ind ;
	
	public SpeedData(double speed, int ind) {
		super();
		this.speed = speed;
		this.ind = ind;
	}

	@Override
	public void processData(JPanel jp) {
		TeleoperationBoard tBoard = (TeleoperationBoard) jp ;
		tBoard.updateSpeed(this, ind) ;
	}

}

// $Id$